/* Copyright (c) 2010 OFXKit
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#import <Foundation/Foundation.h>
#import "OFXObject.h"

@interface OFXFinancialInstitution : OFXObject {
  NSString* address1;
  NSString* address2;
  NSString* address3;
  NSString* city;
  NSString* country;
  NSString* customerServiceNumber;
  NSString* financialInstitutionId;
  NSString* email;
  NSString* faxNumber;
  NSURL*    institutionURL;
  NSString* organization;
  NSString* postalCode;
  NSString* state;
  NSString* technicalSupportNumber;
}

/**
 * @property address1
 * @brief First line of address for financial institution.
 */
@property(retain) NSString* address1;

/**
 * @property address2
 * @brief Second line of address for financial institution.
 */
@property(retain) NSString* address2;

/**
 * @property address3
 * @brief Third line of address for financial institution.
 */
@property(retain) NSString* address3;

/**
 * @property city
 * @brief City financial institution is located in.
 */
@property(retain) NSString* city;

/**
 * @property country
 * @brief Country financial insttitution is located in.
 */
@property(retain) NSString* country;

/**
 * @property customerServiceNumber
 * @brief Telephone number for financial institution's customer service.
 */
@property(retain) NSString* customerServiceNumber;

/**
 * @property email
 * @brief E-mail address for financial institution's customer service.
 */
@property(retain) NSString* email;

/**
 * @property faxNumber
 * @brief Fax number for financial institution's customer service.
 */
@property(retain) NSString* faxNumber;

/**
 * @property financialInstitutionId
 * @brief Financial Institution ID (unique within <ORG>), A-32
 */
@property(retain) NSString* financialInstitutionId;

/**
 * @property institutionURL
 * @brief URL of financial institution's website.
 */
@property(retain) NSURL*    institutionURL;

/**
 * @property organization
 * @brief Organization defining this FI name space, A-32
 */
@property(retain) NSString* organization;

/**
 * @property postalCode
 * @brief The postal code for the financial institution.
 */
@property(retain) NSString* postalCode;

/**
 * @property state
 * @brief State the financial institution is located in.
 */
@property(retain) NSString* state;

/**
 * @property technicalSupportNumber
 * @brief Telephone number of technical support for financial institution.
 */
@property(retain) NSString* technicalSupportNumber;

@end
